﻿<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>Freelancer Việt Nam</title>
</head>
<body style="padding: 0px; margin: 0px; height: 100%; width: 100%" onLoad="fadeIn();">
	<table style="height: 100%; width: 100%; border: 0px collapse; padding: 0px; spacing: 0px; background-color: #8CB7E1; margin: 0px">
		<tr>
			<td id="otd" style="opacity: 0; filter: alpha(opacity=0); font-weight: bold; text-align: center; color: #EEEEEE; font-family: Tahoma, Verdana, Arial">
			Chúc mừng bạn đã trở thành thành viên chính thức của Freelancer Việt Nam!
			</td>
		</tr>
	</table>
	<br/>
	<script type="text/javascript">
		<!--
		function getObjectByID(id)
		{
			if (typeof(id) != 'string')
				return id;
			if (document.getElementById)
				return document.getElementById(id);
			if (document.all)
				return document.all[id];
				
			return null;
		}		
		
		function change_opacity(obj, value)
		{
			otd.style.opacity = value;
			otd.style.filter = 'alpha(opacity=' + value*100 + ')';
		}

		var op_value = 0;
		var redirect_ms = 3000;
		var update_ms = 20;
		var show_time_ms = 1200;
		
		function op_run()
		{
			op_value += update_ms/show_time_ms;
			
			var otd = getObjectByID('otd');
			change_opacity(otd, op_value);
			if (op_value < 1)
				setTimeout('op_run()', update_ms);
		}
		
		function fadeIn() 
		{
			op_run();
			setTimeout("window.location = 'http://localhost/freelancer/';", redirect_ms);
		}
		//-->
		</script>
	</body>
</html>
